package com.gq.rising.common;

import javax.swing.*;
import java.awt.*;

/**
 * @Description: 创建字体标签布局
 * @Author: GQ
 */
public class FontsCreate extends JLabel{
    // 字体名字
    private String text;
    // 字体样式
    private Font font;
    // x坐标
    private int x;
    // y坐标
    private int y;
    // 宽
    private int width;
    // 高
    private int height;

    public FontsCreate() {

    }

    public FontsCreate(String text, Font font, int x, int y, int width, int height) {
        super.setText(text);
        super.setFont(font);
        super.setBounds(x, y, width, height);
    }




}
